#include <stdio.h>
#include <stdlib.h>

#define MAX 1000

static double distance2(double x1, double y1, double x2, double y2)
{
    return (x1-x2)*(x1-x2)+(y1-y2)*(y1-y2);
}

typedef struct missile_t
{
    double d1_sq, d2_sq;  /* distance to each tower, squared */
} missile_t;

static missile_t missiles[MAX];
static int num_missiles;

static int missile_comparer(const missile_t *a, const missile_t *b)
{
    double x = a->d1_sq - b->d1_sq;
    return (x < 0)? 1 : (x > 0)? -1 : 0;
}

/* Constraint: r1^2 + r2^2 <= limit */
static int num_missed_missiles(double limit)
{
    double r1_sq, r2_sq; /* radius of each tower, squared */
    int i, best = num_missiles;

    /* Sort the missiles by their distance to the first tower,
     * from farthest to nearest. */
    qsort(missiles, num_missiles, sizeof(missile_t), missile_comparer);

    /* Find the farthest missile that can be covered by tower 1. */
    r1_sq = limit;
    for (i = 0; i < num_missiles; i++)
    {
        if (missiles[i].d1_sq <= r1_sq)
            break;
    }

    /* Count how many missiles can be covered by tower 2. */
    for (; i <= num_missiles && best > 0; i++)
    {
        int missed = i;
        int j;

        /* Check if each of the missiles not covered by tower 1 can be 
         * covered by tower 2. */
        r1_sq = (i < num_missiles)? missiles[i].d1_sq : 0;
        r2_sq = limit - r1_sq;
        for (j = 0; j < i; j++)
        {
            if (missiles[j].d2_sq <= r2_sq)
                missed--;
        }
        if (missed < best)
            best = missed;
    }
    return best;
}

int main()
{
    int t;
    for (t = 1; scanf("%d", &num_missiles) && (num_missiles > 0); t++)
    {
        int i;
        double x1, y1, x2, y2, area;
        scanf("%lf %lf %lf %lf %lf", &x1, &y1, &x2, &y2, &area);
        for (i = 0; i < num_missiles; i++)
        {
            double x, y;
            scanf("%lf %lf", &x, &y);
            missiles[i].d1_sq = distance2(x, y, x1, y1);
            missiles[i].d2_sq = distance2(x, y, x2, y2);
        }
        printf("%d. %d\n", t, num_missed_missiles(area / 3.141));
    }
    return 0;
}